#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "driver/gpio.h"

#define MAZLED0         12
#define MAZLED1         13

#define LED_ON          1
#define LED_OFF         0

void app_main(void)
{
        gpio_reset_pin(MAZLED0);
        gpio_set_direction(MAZLED0, GPIO_MODE_OUTPUT);

        gpio_reset_pin(MAZLED1);
        gpio_set_direction(MAZLED1, GPIO_MODE_OUTPUT);

        while(1)
        {
                gpio_set_level(MAZLED0, LED_ON);
                gpio_set_level(MAZLED1, LED_ON);
                vTaskDelay(500 / portTICK_PERIOD_MS);

                gpio_set_level(MAZLED0, LED_OFF);
                gpio_set_level(MAZLED1, LED_OFF);
                vTaskDelay(500 / portTICK_PERIOD_MS);
        }
}
